package com.alvin.mock.service;

import com.alvin.mock.dao.model.TUser;
import com.alvin.mock.dao.service.ITUserService;
import jakarta.annotation.Resource;
import org.springframework.stereotype.Component;

/**
 *
 * @author Alvin
 */

@Component
public class UserBizService implements IUserBizService {

    @Resource
    private ITUserService userService;

    @Override
    public TUser getUserById(Long id) {
        return userService.getById(id);
    }
}
